/*
 * 创建日期 2009-11-11
 *
 * 成都天和软件公司
 * 电话：028-85425861
 * 传真：028-85425861-8008
 * 邮编：610041 
 * 版权所有
 */
package  org.fantasy.cpp.core.html.edit;

import javax.servlet.http.HttpServletRequest;

import  org.fantasy.cpp.core.bean.ParamContext;

/**
 *  简单文本框
 * @author: wzy
 * @version: 1.0
 * @since 2010-4-22
 */
public class TextAreaHtml extends AbstractEditHtml {

    public TextAreaHtml(HttpServletRequest request, ParamContext param) {
        super(request, param);
    }

    public String getHtml(){
        StringBuffer html = new StringBuffer(1024);
		html.append("<textarea " + getIsReadonly(name) + getValidate() + " id='"
                + name + "'" + getClassHtml() + " name='" + name
                + "'"+ getStyleHtml()+">" + getValue());
        html.append("</textarea>\n");
        return html.toString();
    }
}
